package com.app.ytong.manager.in;

import android.view.View;

import androidx.fragment.app.FragmentActivity;
import androidx.viewpager.widget.ViewPager;

import com.app.ytong.bean.GoodsListBean;
import com.app.ytong.bean.LoginBean;
import com.app.ytong.bean.MenuBean;
import com.app.ytong.bean.SupplierListData;
import com.app.ytong.multiselection.TypeLabelGridLayout;
import com.qmuiteam.qmui.widget.tab.QMUITabSegment;
import com.vandin.weigher.sdk.connector.IWeigh;

public interface PutPresenter {



    /**
     * 获取并实例化秤
     */
    public IWeigh getIWeigh();

    /**
     * 获取秤的实时重量
     * @return
     */
    public String getScaleWeight();

    /**
     * 关闭化秤
     */
    public void closeIWeigh();

    /**
     * 获取LglLabel
     */
    public void initLglLabel(TypeLabelGridLayout lglLabel);

    /**
     * 实例化TabSegment
     */
    public void initTabSegment(MenuBean menuData, QMUITabSegment mTabSegment, ViewPager viewPager, View view_goods_menu);



    /**
     * 采购或者销售
     *  @param fsg  11采购入库 12生产入库   13销售出库  14生产出库
     *  @param activity
     * @param goodsListBean  货品list
     * @param supplierListData   供应商
     * @param barCode   条形码
     */
    public void settlement(String fsg ,String type, FragmentActivity activity, GoodsListBean goodsListBean, SupplierListData supplierListData,String barCode);

}
